using UnityEngine;
using System.Collections;

[System.Serializable]
public class player_data : MonoBehaviour {

	public float 	Player_Attack_Damage;
	public float 	Player_Attack_Speed;
	public float 	Player_Attack_Range;
	public float 	Player_Movement_Speed;
	public float 	Player_Rooting_Range;
	public float 	Player_Dash_Cost;
	public float 	Player_Dash_Damage;
	public float 	Player_Dash_Point_Maximum;
	public float 	Player_Dash_Point_Regeneration;
	public float	Player_Dash_Residual_Point;
	
	public void SetData(game_data _data)
	{
		Player_Attack_Damage = _data.Player_Attack_Damage;
		Player_Attack_Speed = _data.Player_Attack_Speed;
		Player_Attack_Range = _data.Player_Attack_Range;
		Player_Movement_Speed = _data.Player_Movement_Speed;
		Player_Rooting_Range = _data.Player_Rooting_Range;
		Player_Dash_Cost = _data.Player_Dash_Cost;
		Player_Dash_Damage = _data.Player_Dash_Damage;
		Player_Dash_Point_Maximum = _data.Player_Dash_Point_Maximum;
		Player_Dash_Point_Regeneration = _data.Player_Dash_Point_Regeneration;
		Player_Dash_Residual_Point = _data.Player_Dash_Point_Maximum;
	}
}
